Skip to content

chore: Drop more deprecated stuff - #7263

Merged
sentrivana merged 9 commits into
major/3.0from
ivana/major/more-deprecations
Aug 28, 2026
Merged

chore: Drop more deprecated stuff#7263
sentrivana merged 9 commits into
major/3.0from
ivana/major/more-deprecations

Conversation

@sentrivana

@sentrivana sentrivana commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • remove deprecated max_spans option of LangchainIntegration
  • remove deprecated sentry_sdk.init() context manager
  • remove deprecated configure_debug_hub
  • remove deprecated Baggage.from_options()
  • remove deprecated Transport.capture_event()
  • remove deprecated FunctionTransport
  • the Scope.trace_propagation_meta function no longer accepts a span as argument
  • remove deprecated direct assignment to Scope.level
  • remove deprecated direct assignment to Scope.user
  • remove deprecated Scope.iter_headers

Closes https://linear.app/getsentry/issue/PY-1935/drop-deprecated-stuff

@linear-code

linear-code Bot commented Aug 26, 2026

Copy link
Copy Markdown

PY-1935

@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

110908 passed | ⏭️ 5428 skipped | Total: 116336 | Pass Rate: 95.33% | Execution Time: 379m 0s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -9047
Passed Tests 📉 -7743
Failed Tests
Skipped Tests 📉 -1304

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2235 uncovered lines.
✅ Project coverage is 90.61%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.23%    90.61%    +0.38%
==========================================
  Files          193       185        -8
  Lines        25482     23808     -1674
  Branches      9384      8782      -602
==========================================
+ Hits         22994     21573     -1421
- Misses        2488      2235      -253
- Partials      1431      1363       -68

Generated by Codecov Action

@sentrivana
sentrivana marked this pull request as ready for review August 27, 2026 08:01
@sentrivana
sentrivana requested a review from a team as a code owner August 27, 2026 08:01

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6f4bd53. Configure here.

Comment thread sentry_sdk/transport.py

@ericapisani ericapisani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@sentrivana
sentrivana merged commit 94ce314 into major/3.0 Aug 28, 2026
127 checks passed
@sentrivana
sentrivana deleted the ivana/major/more-deprecations branch August 28, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants